from django.urls import path, re_path

from apps.strategy.views import (
    CustomProfileTemplateHandler,
    ListCustomProfileTemplate,
    BatchDeleteProfileTemplate,
    CreateProfileTemplateHandler,
    SearchProfileTemplate,
    ChangeCheckView
)
from utilities.path_re import PATH_RE_ID


urlpatterns = [
    path(f"profile/template/list/", ListCustomProfileTemplate.as_view()),
    path(r"profile/template/create/", CreateProfileTemplateHandler.as_view()),
    re_path(rf"profile/template/{PATH_RE_ID}/", CustomProfileTemplateHandler.as_view()),
    path(f"profile/template/delete/batch/", BatchDeleteProfileTemplate.as_view()),
    path(f"profile/template/search/", SearchProfileTemplate.as_view()),
    path(f"change_check/", ChangeCheckView.as_view())
]
